<?php

require PATH_CONTROLLERS . 'NewsController.php';

class NewsInfo extends NewsController {

    function __construct() {
        parent::_run();
        parent::setUiPath();
        if(isset($_GET['A'])) {
            return false;
        }
        $this->init();
    }

    /**
     * 详情页
     */
    function init() {
        $info = '你好!欢迎您!';
        parent::$SEO['title'] = '新闻列表页';
        parent::$SEO['key'] = '新闻列表页';
        
        parent::$css_file[] = parent::$http_css . 'info.css';
        parent::$js_file_footer[] = parent::$http_js . 'info.js';
        
        include parent::display('info');
    }

}
